import { Routes, RouterModule }  from '@angular/router';
import {RoleComponent} from "./role.component";
import {RoleAccessComponent} from "./role-access/role-access.component";

const routes:Routes = [
  { path: '', component: RoleComponent },
  { path: 'auth/:roleId', component: RoleAccessComponent}
];

export const RoleRoute = RouterModule.forChild(routes);
